﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ControlEnabler : MonoBehaviour {

	public PlayerController controller;

	void OnEnable()
	{
		controller.enabled = true;
	}

	void OnDisable()
	{
		controller.enabled = false;
	}
}
